package models

import "gorm.io/gorm"

type Novel struct {
	gorm.Model
	NovelId   int    `json:"novel_id" gorm:"type:int(10) not null"`
	NovelName string `json:"novel_name" gorm:"type:varchar(50) not null"`
	Name      string `json:"name" gorm:"type:varchar(30) not null"`
	Img       string `json:"img" gorm:"type:varchar(100) not null"`
	Info      string `json:"info" gorm:"type:enum('仙侠','都市')"`
	Address   string `json:"address" gorm:"type:varchar(100) not null"`
}
